package ink.xiaobaibai.parameterValid;

import java.lang.annotation.Annotation;

public interface ParameterValid<T, A extends Annotation> {

    /**
     * 开始校验,返回校验结果对象, true/false errorMessage
     */
    public ParameterResult valid(T t, A a);

}